<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf"%>
<script type="text/javascript">
function ok(obj){
	var _this = $(obj);//将当前的pimg元素作为_this传入函数 
	imgShow("#outerdiv", "#innerdiv", "#bigimg", _this);
	
}
function imgShow(outerdiv, innerdiv, bigimg, _this){ 
	var src = _this.attr("src");//获取当前点击的pimg元素中的src属性 
	$(bigimg).attr("src", src);//设置#bigimg元素的src属性 
	/*获取当前点击图片的真实大小，并显示弹出层及大图*/ 
	$("<img/>").attr("src", src).load(function(){ 
	var windowW = $(window).width();//获取当前窗口宽度 
	var windowH = $(window).height();//获取当前窗口高度 
	var realWidth = this.width;//获取图片真实宽度 
	var realHeight = this.height;//获取图片真实高度 
	var imgWidth, imgHeight; 
	var scale = 0.8;//缩放尺寸，当图片真实宽度和高度大于窗口宽度和高度时进行缩放 

	if(realHeight>windowH*scale) {//判断图片高度 
	imgHeight = windowH*scale;//如大于窗口高度，图片高度进行缩放 
	imgWidth = imgHeight/realHeight*realWidth;//等比例缩放宽度 
	if(imgWidth>windowW*scale) {//如宽度扔大于窗口宽度 
	imgWidth = windowW*scale;//再对宽度进行缩放 
	} 
	} else if(realWidth>windowW*scale) {//如图片高度合适，判断图片宽度 
	imgWidth = windowW*scale;//如大于窗口宽度，图片宽度进行缩放 
	imgHeight = imgWidth/realWidth*realHeight;//等比例缩放高度 
	} else {//如果图片真实高度和宽度都符合要求，高宽不变 
	imgWidth = realWidth+250;
	imgHeight = realHeight+150; 
	} 
	$(bigimg).css("width",imgWidth);//以最终的宽度对图片缩放 
	var w = (windowW-imgWidth)/2;//计算图片与窗口左边距 
	var h = (windowH-imgHeight)/2;//计算图片与窗口上边距 ()
	$(innerdiv).css({"top":h, "left":w});//设置#innerdiv的top和left属性 
	$(outerdiv).fadeIn("fast");//淡入显示#outerdiv及.pimg 
	$(outerdiv).click(function(){//再次点击淡出消失弹出层 
	$(this).fadeOut("fast"); 
	});
});
}
</script>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}

</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
		<section class="panel panel-default">
		<table class="layui-table"  style="font-weight: bold; text-align: center;">
				<tr>
					<td colspan="2">中山市泰源包装材料有限公司</td>
					<td colspan="4">作业指导书</td>
					<td>成型周期</td>
					<td>${processTest.Molding_Cycle }秒</td>
				</tr>
				<tr>
					<td colspan="2">${processTest.document_number}</td>
					<td colspan="4"><h1 style="font-weight: bolder;">自动机成型工艺参数</h1></td>
					<td>标准产能</td>
					<td>${processTest.Standard_Capacity }套</td>
				</tr>
				<tr>
					<td>机台号</td>
					<td>${processTest.Machine_ID }</td>
					<td colspan="4">机器型号(${processTest.Machine_model})</td>
					<td>状态</td>
					<td>${processTest.status }</td>
				</tr>
				<tr>
					<td>模具编号</td>
					<td>${processTest.Mold_Number }</td>
					<td>品质要求</td>
					<td>${processTest.Characters }</td>
					<td>干重</td>
					<td>${processTest.Dry_Weight }</td>
					<td>用料密度</td>
					<td>${processTest.Density }</td>
				</tr>
				<tr>
					<td>客户</td>
					<td>${processTest.Clients }</td>
					<td>产品尺寸</td>
					<td>${processTest.Product_Size }</td>
					<td>湿重</td>
					<td>${processTest.Wet_Weight }</td>
					<td>套/件</td>
					<td>${processTest.Suite }</td>
				</tr>
				<tr>
					<td>用料品牌</td>
					<td>${processTest.Materials_Brand }</td>
					<td>原料型号</td>
					<td>${processTest.Material_Type }</td>
					<td>用料熟化时间</td>
					<td>${processTest.Cure }</td>
					<td>参考值</td>
					<td>${processTest.Ref_val }</td>
				</tr>
				<tr>
					<td>制定日期</td>
					<td>${processTest.Enactment_Date }</td>
				</tr>
				<tr>
					<td colspan="4">时间设定(1)</td>
					<td colspan="4">时间设定(2)</td>
				</tr>
				<tr>
					<td>预吹</td>
					<td>${timeOne.Opreblow }</td>
					<td>入料</td>
					<td>${timeOne.OInput_Material }</td>
					<td>增压脱模</td>
					<td>${timeTwo.TPressurization_Demoulding }</td>
					<td>真空脱模</td>
					<td>${timeTwo.TVacuum_Stripping }</td>
				</tr>
				<tr>
					<td>加压入料</td>
					<td>${timeOne.OPressurized_material }</td>
					<td>回料</td>
					<td>${timeOne.OFend_Back }</td>
					<td>固模脱模</td>
					<td>${timeTwo.TMould_Stripping }</td>
					<td>固模边开边脱</td>
					<td>${timeTwo.TTeomioao }</td>
				</tr>
				<tr>
					<td>固模穿透</td>
					<td>${timeOne.OModel_Through }</td>
					<td>移模穿透</td>
					<td>${timeOne.OMove_Through }</td>
					<td>移模脱模</td>
					<td>${timeTwo.TMove_Moulds }</td>
					<td>移模边开边脱</td>
					<td>${timeTwo.TRteotm }</td>
				</tr>
				
				<tr>
					<td>固主加热</td>
					<td>${timeOne.OSolid_Heating }</td>
					<td>移主加热</td>
					<td>${timeOne.OMove_Heating }</td>
					<td>顶杆吹气</td>
					<td>${timeTwo.TPlunger_blowing }</td>
					<td>真空冷</td>
					<td>${timeTwo.Tvacuum_cooling }</td>
				</tr>
				
				<tr>
					<td>固模水冷</td>
					<td>${timeOne.OMold_Cooling }</td>
					<td>移模水冷</td>
					<td>${timeOne.OMould_Cooling }</td>
					<td>保温</td>
					<td>${timeTwo.Insulation }</td>
					<td></td>
					<td></td>
				</tr>
				
				</tr>
				<tr>
					<td colspan="4">时间设定(三)</td>
					<td colspan="4">时间设定(四)</td>
				</tr>
				<tr>
					<td>固模穿透压力</td>
					<td>${timeThree.SPpotsm }</td>
					<td>固模主加热压力</td>
					<td>${timeThree.STmhpotsd }</td>
					<td colspan="4">平衡阀调节压力设定</td>
				</tr>
				<tr>
					<td>移模穿透压力</td>
					<td>${timeThree.SDshifttp }</td>
					<td>移模主加热压力</td>
					<td>${timeThree.STmhpotds }</td>
					<td>固模穿透</td>
					<td>${timeFour.Fsolid_Through }</td>
					<td>固模脱模</td>
					<td>${timeFour.Fsolid_Stripping }</td>
				</tr>
				<tr>
					<td>料筒加压</td>
					<td>${timeThree.SCylinder_pressure }</td>
					<td>引料</td>
					<td>${timeThree.SThreading }</td>
					<td>移模穿透</td>
					<td>${timeFour.Fmove_Through }</td>
					<td>移模脱模</td>
					<td>${timeFour.Fmove_Stripping }</td>
				</tr>
				
				<tr>
					<td colspan="8">工艺设定</td>
				</tr>
				<tr>
					<td>第一次脱模</td>
					<td>${setFormMap.Gfirst_demoulding }</td>
					<td>入料方式</td>
					<td>${setFormMap.Gthe_material }</td>
					<td>脱模方式</td>
					<td>${setFormMap.Gdemoulding_way  }</td>
					<td>入料次数</td>
					<td>${setFormMap.Gmaterial_number }</td>
				</tr>
				<tr>
					<td>脱模次数</td>
					<td>${setFormMap.Gdemoulding_number }</td>
					<td>再次离型</td>
					<td>${setFormMap.Gmold_again }</td>
					<td>穿透顺序</td>
					<td>${setFormMap.Gthrough_order }</td>
					<td>脱模速度选择</td>
					<td>${setFormMap.Gsd_speng }</td>
				</tr>
				
				<tr>
					<td colspan="8">位置设定</td>
				</tr>
				<tr>
					<td>脱模间隙位置</td>
					<td>${locaFormMap.Pdemoulding_clearance }</td>
					<td>顶杆吹气位置</td>
					<td>${locaFormMap.Ppin_position }</td>
					<td>再次离型位置</td>
					<td>${locaFormMap.Pagain_off }</td>
					<td>开模停止位置</td>
					<td>${locaFormMap.P_OpenMoldStop }</td>
				</tr>
				<tr>
					
					<td>模腔入料位置</td>
					<td>${locaFormMap.Pmold_feeding }</td>
					<td>脱模开模位置</td>
					<td>${locaFormMap.Pdemoulding_od }</td>
					<td>开模慢速位置</td>
					<td>${locaFormMap.Pslow_mold }</td>
				</tr>
				<tr>
					<td colspan="8">模具信息反馈</td>
				</tr>
				<tr>
					<td>光洁度</td>
					<td colspan="6">${infoFormMap.Degree_finish }</td>				
				</tr>
				<tr>
					<td>排气性能</td>
					<td colspan="6">${infoFormMap.Exhaust_performance }</td>
				</tr>
				<tr><td>喷淋效果</td>
					<td colspan="6">${infoFormMap.Spray_effect }</td>
				</tr>
				<tr><td>料枪分布</td>
					<td colspan="6">${infoFormMap.Material_distribution }</td>
				</tr>
				<tr><td>顶针分布</td>
					<td colspan="6">${infoFormMap.Thimble_distribution }</td>
				</tr>
				<tr><td>脱模效果</td>
					<td colspan="6">${infoFormMap.Demoulding_effect }</td>
				</tr>
				<tr><td>外观判定</td>
					<td colspan="6">${infoFormMap.Appearance_judge }</td>
				</tr>
				<tr><td>模具缺陷描述</td>
					<td colspan="6">${infoFormMap.Mold_description }</td>
				</tr>
				<tr><td>模具总体评判</td>
					<td colspan="6">${infoFormMap.Overall_mold }</td>
				</tr>
				<tr><td>人员信息</td>
					<td colspan="6">${infoFormMap.Person_Id }</td>
				</tr>
				<tr><td>记录日期</td>
					<td colspan="6"><fmt:formatDate value='${infoFormMap.Record_date }' pattern='yyyy-MM-dd HH:mm:ss' /></td>
				</tr>
				<tr>
				<td colspan="8">试模评估报告单</td>
			</tr>
			<tr>
				<td>模具编号</td>
				<td>${reqortFormMap.Mold_Number}</td>
				<td>供应商</td>
				<td>${reqortFormMap.Supplier}</td>
				<td>机台号</td>
				<td>${reqortFormMap.Machine_ID}</td>
				<td>日期</td>
				<td>${reqortFormMap.Date}</td>
			</tr>
			<tr>
				<td>入料间隙</td>
				<td>${reqortFormMap.material_Clearance}</td>
				<td>水压</td>
				<td>${reqortFormMap.Pressure}</td>
				<td>蒸汽压力</td>
				<td>${reqortFormMap.Steam_Pressure}</td>
				<td>空气压力</td>
				<td>${reqortFormMap.Air_Pressure}</td>
			</tr>
			<tr>
				<td>入料次数</td>
				<td>${reqortFormMap.Gmaterial_number}</td>
				<td>发泡优先</td>
				<td>${reqortFormMap.Foam_Priority}</td>
				<td>脱模次数</td>
				<td>${reqortFormMap.Gdemoulding_number}</td>
				<td>离型选择</td>
				<td>${reqortFormMap.Release_Select}</td>
			</tr>
			<tr>
				<td>汽冷时间</td>
				<td>${reqortFormMap.Steam_Time}</td>
				<td>水冷时间</td>
				<td>${reqortFormMap.Water_Time}</td>
				<td>真空时间</td>
				<td>${reqortFormMap.Vacuum_Time}</td>
				<td>脱模状况</td>
				<td>${reqortFormMap.Mold_Condition}</td>
			</tr>
			<tr>
				<td>刮花</td>
				<td>${reqortFormMap.Scratched}</td>
				<td>名牌标识</td>
				<td>${reqortFormMap.Name_logo}</td>
				<td>入料情况</td>
				<td>${reqortFormMap.Material}</td>
				<td>收缩</td>
				<td>${reqortFormMap.Shrinkage}</td>
			</tr>
			<tr>
				<td>批锋</td> 
				<td>${reqortFormMap.Batch}</td>
				<td>熟化良好</td>
				<td>${reqortFormMap.Curing}</td>
				<td>冷却程度</td>
				<td>${reqortFormMap.Degree_cold}</td>
				<td>料枪布局</td>
				<td>${reqortFormMap.GunLayout}</td>
			</tr>
			<tr>
				<td>定重</td>
				<td>${reqortFormMap.TheWeigh}</td>
				<td>湿重</td>
				<td>${reqortFormMap.WetWeight}</td>
				<td>干重</td>
				<td>${reqortFormMap.DryWeight}</td>
				<td>用料</td>
				<td>${reqortFormMap.Tmaterials}</td>
			</tr>
			<tr>
				<td>产品结构</td>
				<td>${reqortFormMap.ProductStructure}</td>
				<td>产品尺寸</td>
				<td>${reqortFormMap.ProductSize}</td>
				<td>外观判断</td>
				<td>${reqortFormMap.Appearance}</td>
				<td>成型周期</td>
				<td>${reqortFormMap.Molding_Cycle}</td>
			</tr>
			<tr>
				<td>模具缺陷描述</td>
				<td>${reqortFormMap.DefectDescription}</td>
				<td>试产结果</td>
				<td>${reqortFormMap.TestResult}</td>
				<td>图片上传</td>
				<td>${reqortFormMap.ImageUpload}</td>
				<td></td>
				<td></td>
			</tr>
				
		</table>
		<div id="outerdiv" style="position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);z-index:2;width:100%;height:100%;display:none;">
    	<div id="innerdiv" style="position:absolute;">
        <img id="bigimg" style="border:5px solid #fff;" src="" />
</body>
</html>